package cn.study.zgm.nettyall.selector.bio;


import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.SocketChannel;

/**
 * packageName cn.study.zgm.nettyall.selector.bio
 *
 * @author 你的名字
 * @version JDK 8
 * @className BlockingClient (此处以class为例)
 * @date 2025/2/25
 * @description TODO
 */
public class BlockingClient {
    public static void main(String[] args) throws IOException {
        SocketChannel sc = SocketChannel.open();
        sc.connect(new InetSocketAddress("127.0.0.1", 8081));
        System.out.println("客户端已经连接，可以发送消息");
    }
}
